<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * 收货地址
 */
class Address extends Model
{
    protected $table = 'address';

    protected $primaryKey = 'address_id';

    public $timestamps = false;

    public $fillable = [
    	'address_id',
    	'user_id',
    	'name', //收货人姓名
    	'phone', //收货人电话
    	'province_id', //省份id
    	'city_id', //城市id
    	'area_id', //区域id
    	'street_id', //街道id
    	'details', //详细地址
    	'zip_code', //邮政编码
    	'is_default', //1默认2非默认
    	'create_time', //添加时间
    	'is_delete', //1删除0未删除
    	'address_name', //省市区字符串
    ];
}
